img{
    max-width:100%;
}
.small_cat, .small_link {
    position: relative;
    z-index: 30;
    margin: 0px 10px 20px 10px;
}
.small_link{
    margin-bottom:0px;
}
.small_cat div, .small_link div{
    padding: 0px 16px;
    overflow: hidden;
    position: relative;
    font: 18px/40px 'PT Sans Narrow';
    color: #fff;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    text-align:center;
    text-transform:uppercase;
    font-weight:bold;
}
.small_cat div{
    background:#585858;
    border: 1px solid #000000;
    border-radius: 0px 0px 3px 3px;
    -moz-border-radius: 0px 0px 3px 3px;
    -webkit-border-radius: 0px 0px 3px 3px;
}
.small_link div{
    background: #38B0E3;
    border:1px solid #0D9FDF;
    border-radius: 3px 3px 0px 0px;
    -moz-border-radius: 3px 3px 0px 0px;
    -webkit-border-radius: 3px 3px 0px 0px;
}
.small_cat select, .small_link select {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    opacity: 0;
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=0);
    cursor: pointer;
}
.small_cat, .small_link, .small_content{
    display:none;
}
/* Desktop standard 960 and up */
@media only screen and (min-width: 980px) {
}

/* Tablet Portrait size to standard 980*/
@media only screen and (max-width: 768px),
only screen and (max-device-width: 768px){
    body{
        background-color:#FFF;
        background-image:none;
    }
    .category-home a{
        width: 240px;
    }
    #content .line-hit{
        display: none;
    }
    #container{
        width: 756px;
        padding:2px;
    }
    .box-product{
        margin-left: 3px;
    }
    .box-product > div.product-items{
        margin: 3px;
        width: 176px;
    }
    .box-product .product-code,
    .box-product .product-price{
        width: 76px;
        font-size: 10px;
    }
    #column-left{
        display:none;
    }
    #column-left + #column-right + #content, #column-left + #content {
        margin-left: 0px;
    }
    .featured{
        margin: -1px 0 0 5px;
    }
     #footer #powered{
        top:-18px;
        right: 0px;
    }

}

/* Mobile Landscape Size to Tablet Portrait */
@media only screen and (max-width: 480px),
only screen and (max-device-width: 480px){
    #content{
        padding: 2px;
    }
    #container{
        width:100%;
    }
    #column-right{
        display:none;
    }
    #column-right + #content {
        margin-right:0px;
    }
    #content .line-hit{
        display: none;
    }
    #header {
        height:100px;
    }
    #header #logo{
        top: 20px;
    }
    #header #welcome{
        top:0;
    }
    .category-home a{
        width: 165px;
    }
    .featured{
        margin: -2px 0 0 6px;
    }
    #container #search{
        width: 165px;
        margin-right: 5px;
    }
    #container #search input[type="text"]{
        width: 130px;
    }
    #header .links{
        top:90px;
        right: 5px;
    }
    #content .product-info .image{
        width: 150px;
    }
    #content .product-info > .left + .right{
        margin-left: 180px;
    }
    .box-product{
        margin-left: 5px;
    }
    .box-product > div.product-items{
        margin: 3px;
        width: 162px;
    }
    .box-product .product-code,
    .box-product .product-price{
        width: 69px;
        font-size: 9px;
    }
    .product-filter .sort{
        display: none;
    }
    #cboxContent, #cboxLoadedContent {
        width: 300px;
    }
    .breadcrumb{
        margin-top: 11px;
    }
     #footer{
        height: 180px;
        background: #EEE;
    }
    #footer .statistic-support{
        text-align: center;
        width: 370px;
        height: 80px;
        clear: both;
        float: none;
    }
    #footer .link-info{
        display: none;
    }
    #footer .info-company{
        margin: 0 5px;
        padding: 0;
        text-justify: auto;
    }
    #footer #powered{
        top:0;
        right: 40px;
        margin-top: 3px;
    }

    #menu > ul > li > div > ul > li > ul{
        padding-left:20px;
    }
    #menu, .org_cat, .toplinks{
        display:none;
    }
    .small_cat, .small_link{
        display:block;
    }
}

@media only screen and (max-width: 320px),
only screen and (max-device-width: 320px){
    #content{
        padding: 2px;
    }
    #header #logo{
        top:22px;
        left:52px;
    }
    #header .links{
        top:95px;
        right: 5px;
        font-size: 10px;
    }
    #content .line-hit{
        display: none;
    }
    .category-home{
        position: relative;
        bottom: -5px;
        top:-2px;
    }
    .category-home a{
        width: 148px;
        font-size: 60%;
    }
    #container #search{
        width: 120px;
        margin-right: 5px;
    }
    #container #search input[type="text"]{
        width: 90px;
    }
    .box-product{
        margin-left: 2px;
    }
    .box-product > div.product-items{
        margin: 3px;
        width: 146px;
    }
    .box-product .product-code,
    .box-product .product-price{
        width: 61px;
        font-size: 9px;
    }
    .product-filter .sort{
        display: none;
    }
    #content .product-info .image{
        width: 120px;
    }
    #content .product-info > .left + .right{
        margin-left: 150px;
    }
    #cboxContent, #cboxLoadedContent {
        width: 290px;
    }
    .org_content{
        display:none;
    }
    .small_content{
        display:inline-block;
    }
    .login-content .left, .login-content .right {
        float: left;
        width: 100%;
    }
    #footer{
        height: 200px;
        background: #EEE;
    }
    #footer .statistic-support{
        text-align: center;
        width: 295px;
        height: 80px;
        clear: both;
        float: none;
    }
    #footer .link-info{
        display: none;
    }
    #footer .info-company{
        margin: 0 5px;
        padding: 0;
        text-justify: auto;
    }
    #footer #powered{
        top:0;
        right: 5px;
    }

}

@media only screen and (max-width: 250px) {
    #header {
        height:260px;
    }
    #header #logo{
        top: 90px;
    }
    #header #language, #header #currency{
        width: 150px;
    }
    #header #language{
        left: 5px;
        top: 40px;
    }
    #header #currency{
        left: 5px;
        top: 5px;
    }
    #header #search{
        top:210px;
        right: 5px;
        width: 208px;
    }
    #header #search input{
        width: 172px;
    }
    #header #cart {
        top: 148px;
        right:0px;
    }
    #header #cart .heading{
        margin-right:0px;
    }
    #header #welcome{
        top:240px;
        right: 5px;
        width: 200px;
    }
    #header .links{
        display:none;
    }
}